package com.mk.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Pet implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    public static final String NORMAL = "正常";
    public static final String ABNORMAL = "不正常";

    private Long id;
    //宠物编号
    private String petNumber;
    //名字
    private String name;
    //年龄
    private Integer age;
    //宠物品种
    private String breed;
    //照片
    private String image;
    //号牌
    private String numberPlate;
    //备案照片
    private String record;
    //宠物状态
    private String status;
    //饲养证明
    private String feedCertificate;
    //饲养证明状态（正常/不正常）
    private String feedStatus;
    //饲养证明登记/修改时间
    private LocalDateTime feedTime;
    //动物检疫合格证明
    private String animalCertificate;
    //动物检疫合格证明状态（正常/不正常）
    private String animalStatus;
    //动物检疫合格证明登记/修改时间
    private LocalDateTime animalTime;
    //宠物分数（默认12）
    private int score;
    //出生日期
    private LocalDateTime bornTime;
    //登记时间
    private LocalDateTime createTime;
    //修改时间
    private LocalDateTime updateTime;
    //分数更新时间
    private LocalDateTime scoreTime;
}
